package com.example.hotelsystem.vo.floor;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
public class FloorSaveVO implements Serializable {
    private static final long serialVersionUID=1L;

    @NotNull(message = "请填写楼层介绍")
    @ApiModelProperty(value = "楼层介绍")
    private String content;

    @TableField(exist = false)
    @ApiModelProperty(value = "楼层图片")
    @NotNull(message = "请上传图片链接")
    private String image;

    @ApiModelProperty(value = "楼层名称")
    @NotNull(message = "请输入楼层名称")
    private String name;

    @ApiModelProperty(value = "楼层号")
    @NotNull(message = "请填写楼层号")
    private Long number;

    @ApiModelProperty(value = "状态(0:未开,1:正常)")
    private Integer status;

}
